package com.ddxcloud.common.annotation;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RepeatSubmit {

    long lockTime() default 2;

    TimeUnit timeUnit() default TimeUnit.SECONDS;
}
